home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98c.txt
/
000031_icon-group-sender _Tue Sep 15 16:24:34 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) with SMTP id QAA20524
for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Tue, 15 Sep 1998 16:24:34 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA04079; Tue, 15 Sep 1998 16:24:06 -0700
Date: Tue, 15 Sep 1998 13:57:13 -0700
From: kwalker@sfo.harbinger.com (Ken Walker)
Message-Id: <199809152057.NAA09001@varda.premenos.com>
To: icon-group@optima.CS.Arizona.EDU
Subject: Re: Context Switching
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Md5: e40PQ5o00F2bK6KMYoGfVg==
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Content-Transfer-Encoding: 7bit
Status: RO
> From evans@gte.net Tue Sep 15 12:45:59 1998
>
> Thanks, but I think you missed my point. The hidden assumption here is
> that Icon function calls shall behave exactly like C function calls. I
> am trying to say that, with auxiliary data structures, the job might be
> done without threads.
That is a good point. On the other hand the Icon runtime system is
currently written in C and makes use of the C stack. There can be
"suspended" C frames on stack when a context switch occurs. The changes
needed to perform a co-expression context switch without doing a C-level
context switch would be significant in the interpreter and some of
the runtime system might end up looking rather ugly. It would be
even more work in the compiler; the compiler converts Icon code into
C code. Would such a change be worth making it a little easier to
port co-expressions?
Ken Walker, kenneth.walker@sfo.harbinger.com
Harbinger Coporation, Concord, Ca. 94520